﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.BPMPlatform
{
    /// <summary>
    /// BPM平台接口服务
    /// </summary>
    public interface IBPMPlatformAppService : IApplicationService
    {
        /// <summary>
        /// 根据工号获取用户GUID
        /// </summary>
        /// <param name="employeeCode"></param>
        /// <returns></returns>
        Task<string> GetUserAsync(string employeeCode);

        /// <summary>
        /// 根据用户GUID获取工号
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        string GetUserNumberAsync(Guid userId);
    }
}
